﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _单例
{
    class Class1
    {
        public static int temp = 10;
        private string tempstring = "";
        public void saa()
        { }
        public static void Statictest()
        {
            //static int bb = 0;
            int aa =0;
            temp = aa++;
        }
        private void test(int a)
        {
            //static int bb = 0;
            temp = a;
            int cc;
            cc = a;
        }
    }
}
